<!-- src/App.vue -->
<template>
  <div id="app">
    <Header1 />
    <Nav />
    <router-view></router-view> <!-- 确保这里有这个标签 -->
    <Footer1 />
  </div>
</template>

<script>
import Header1 from './components/Header1.vue';
import Nav from './components/Nav.vue';
import Content from './components/Content.vue';
import Footer1 from './components/Footer1.vue';

export default {
  name: 'App',
  components: {
    Header1,
    Nav,
    Content,
    Footer1
  }
}
</script>

<style>
/* 全局样式 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
</style>